package com.zbkj.common.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 用户模特地址表
 * </p>
 *
 * @author keNan
 * @since 2025-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_user_model_url")
@ApiModel(value="UserModelUrl对象", description="用户模特地址表")
public class UserModelUrl implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "模特类型(0男  1女  2童)")
    @NotNull(message = "模特类型不能为空")
    private Integer modelType;

    @ApiModelProperty(value = "模特url地址")
    @NotBlank(message = "模特url地址不能为空")
    private String modelUrl;

    @ApiModelProperty(value = "蒙版json字符串")
    private String maskJsonStr;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
